/**
 * @Author: Boring
 * @Description:
 * @File:  replicaset
 * @Date: 2024-03-02 14:50
 */

package replicaset

import (
	"github.com/gin-gonic/gin"
	"oam-manage-backend/controllers/replicaset"
)

func get(replicasetGroup *gin.RouterGroup) {
	replicasetGroup.GET("/get", replicaset.Get)
}

func list(replicasetGroup *gin.RouterGroup) {
	replicasetGroup.GET("/list", replicaset.List)
}

func RegisterSubRouter(g *gin.RouterGroup) {
	replicasetGroup := g.Group("/replicaset")
	get(replicasetGroup)
	list(replicasetGroup)
}
